package br.com.ordersys.framework.scheduler;

import br.com.ordersys.framework.scheduler.JobTrigger.IntervalType;
import br.com.ordersys.framework.scheduler.JobTrigger.Type;

public class JobData {
	private boolean active;
	private int interval;
	private IntervalType intervalType;
	private String cronExpression;
	private Type jobType;
	private int runAsUser;
	private String jobId;

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public int getInterval() {
		return interval;
	}

	public void setInterval(int interval) {
		this.interval = interval;
	}

	public IntervalType getIntervalType() {
		return intervalType;
	}

	public void setIntervalType(IntervalType intervalType) {
		this.intervalType = intervalType;
	}

	public int getRunAsUser() {
		return runAsUser;
	}

	public void setRunAsUser(int runAsUser) {
		this.runAsUser = runAsUser;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public Type getJobType() {
		return jobType;
	}

	public void setJobType(Type jobType) {
		this.jobType = jobType;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}
	
}
